package com.yan.network;


import java.util.List;

import org.apache.http.client.methods.HttpGet;

import com.yan.activity.Article;


public class HttpService{
	private final static String TAG = "HTTP_SERVICE";


	public static List<Article> getArticles() throws Exception{
		HttpGet request = RequestBuilder.getArticlesQuery();
		
		List<Article> Articles = ResponseBuilder.getArticles(request);
		return Articles;
	}



/*	public static Article getArticleDetails(String Articleid) throws Exception{
		HttpGet request = RequestBuilder.getArticleDetailsQuery(Articleid);
		Article Articles = ResponseBuilder.getArticleDetails(request);
		return Articles;
	}

*/
	
	

	
 

}
